package abg.core.service.mt;

import abg.core.domain.db.MtRoom;
import abg.core.domain.mt.MtRoomVo;
import abg.core.domain.search.Psh;
import com.alibaba.fastjson2.JSONObject;
import com.mybatisflex.core.paginate.Page;

import java.util.List;

/**
 * 字典服务
 */
public interface MtRoomService {

    //开启会议
    MtRoom openMtRoom(MtRoom param);

    //生成会议分享码
    JSONObject createMtLinkQrCode(String mtId);

    //加入会议,并记录日志
    MtRoom inMtRoom(String mtCode,String inPassword);

    //我关联的正在开启的会议
    List<MtRoom> myLiveRoomPage();

    Page<MtRoomVo> page(MtRoomVo mtRoom, Psh psh);

    Object closeMeeting(MtRoom mtRoom);

    Object update(MtRoom mtRoom);
}
